Special character escaping encoding in URL URLsDecember 29, 2017 09:10:57Hits:Special character escaping encoding in URL URLsCharacter-URL encoded valueSpaces-%20"-%22#-%23%-%25&-%26(-%28)-%29+-%2B,-%2c/-%2F:-%3a; -%3b=-%3d>-%3e? -%3f@-%40\-%5C|
Http://www.imkevinyang.com/2009/08/%E8%AF%A6%E8%A7%A3javascript%E4%B8%AD%E7%9A%84url%E7%BC%96%E8%A7%A3%E7%A0%81.htmlSummaryIn this paper, we mainly introduce the related problems of URI codec, and explain in detail which characters in URL coding
Let's take a look at three urls:
Url1. http://hi.baidu.com/aobao's Yan
Url2. http://hi.baidu.com/%E7%88%B1%E5% AE %9D%E7%9A%84%E5%A6%8D (UTF-8 coding)
Url3. http://hi.baidu.com/%B0% AE %B1%A6%B5%C4%E5%FB (GBK encoding)
These three URLs point
Let's take a look at three urls:
Url1. http://hi.baidu.com/aobao's Yan
Url2. http://hi.baidu.com/%E7%88%B1%E5% AE %9D%E7%9A%84%E5%A6%8D (UTF-8 coding)
Url3. http://hi.baidu.com/%B0% AE %B1%A6%B5%C4%E5%FB (GBK encoding)
These three URLs point to
Copyright Disclaimer: If you have a reprinted request, please indicate the source:Http://blog.csdn.net/yzhz Yang Zheng
I. Problems:The coding problem is that Java beginners often encounter problems during web development. There are also a large
StudyingProgramEnter a keyword to send the keyword to search engines such as Google and Yahoo, and then open the result webpage. The principle is simple. For exampleGoogle search for China, the search results page url is
A program is being studied. If you enter a keyword, you can send it to Google, yahoo, and other search engines to search for it and then open the result webpage. The principle is simple. For example, in Google search for China, the search result
In the previous article: [iOS] How to Use JS to call iOS functions in WebApp, I mentioned how to use JS to call iOS Internal functions by modifying the URL.
One problem is the encoding problem. For example, if a pop-up window is called via URL,
The role of URL encoding (URL encoding) is to convert characters into a format that can be transmitted securely over the Internet.url--Uniform Resource LocatorThe Web browser requests a page from the Web server via a URL.URL is the address of the
1, in mobile development, we will encounter a Web site in the browser can be loaded, but on the app can not load the situation or URL resolution does not come out. This kind of situation mostly is because the website contains the special vulgar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.